<#include "/includes/header.ftl">
<#assign curr_argsid="">
<#if areaCategory?has_content><#assign curr_argsid=areaCategory.sysId></#if>

<div id='productlist_nav'>
	<#if areaPrimaryCategoryTrail?has_content>
			<b>Your Position:&nbsp;</b><A href='<@spring.url "/home.jsp#user"/>'>User Home</A>&gt;&gt;
			<#list areaPrimaryCategoryTrail as g>
				<A href='<@spring.url "/listcategory2servant.jsp?argsid=${g.sysId}"/>'>${g.name?default("No-Name")}</A>&gt;&gt;
			</#list>
	</#if>			
	<#if user?has_content><b>${user.nickName?default("No-NickName")}:</b></#if>
</div>

<#if user?has_content>
<#assign usersid = user.sysId>
<div id="productdetail_intro">
	<div class='product_img'><IMG src='${user.smallImage?default("http://localhost:8080/jubao/IMAGES/USER/USER_MEDIUM_DEFAULT.JPG")}' width="200" height="150" style="border: 1px solid rgb(0, 0, 0);" /></div>
	<div class='product_desc'>${user.nickName?default("No-Nick-Name")}&nbsp;&nbsp;
	<A href='<@spring.url "/setstoreservant.php?usersid=${user.sysId}"/>'>Choose As My Store Servant</A>
	<br/>${user.shortDesc?default("No-Short-Desc")}</div>
</div>

<div id='productlist_contents'>
		<#list 1..8 as ci>
			<li>
			<IMG src='<@spring.url "/IMAGES/STORE/STORE_SMALL_DEFAULT.JPG"/>' height="60" width="60"/>
			<div class='product_desc'>Store:{ci.user.nickName?default("No-NickName")}
			<br/>Store Comment: {ci.shortDesc?default("")} 			 
			</div>
			</li>
		</#list>								
</div>


<div id="productdetail_description">${user.longDesc?default("No-user-longDesc")}</div>
<#else>
	Not Found the user.
</#if>
<#include "/includes/footer.ftl">